package com.guodu.service;

import java.util.List;

import com.guodu.entity.FileTechnical;
import com.guodu.entity.PurchaseDistributionPlan;
import com.guodu.entity.PurchasedistributionStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchaseDistributionPlanQueryVo;
import com.guodu.vo.PurchaseDistributionPlanVo;


public interface PurchaseDistributionPlanService {
	PurchaseDistributionPlanVo findAllMoney(PurchaseDistributionPlanQueryVo pdpq, Units units);
	
	long findSizeByVo(PurchaseDistributionPlanQueryVo pdpq, Units units);

	public void examinAll(PurchaseDistributionPlanQueryVo pdpq, Units units);
	
	List<PurchaseDistributionPlanVo> findByVo(PurchaseDistributionPlanQueryVo pdpq, Units units, int curPage, int pageSize);

	void save(PurchaseDistributionPlan purchaseDistributionPlan);

	PurchaseDistributionPlan findById(String purchaseId);

	void update(PurchaseDistributionPlan purchaseDistributionPlan, Long status);

	List<PurchasedistributionStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	void saveFile(FileTechnical fileTechnical);

	List<FileTechnical> findFile(String fileTechnical);

	void delByOne(String technical);

	List<PurchaseDistributionPlan> findAllByVo(
			PurchaseDistributionPlanQueryVo pdpq, Units attribute);


}
